package grape.auth.rest.service.impl;

import grape.base.service.user.po.UserIdentifier;
import org.springframework.stereotype.Component;

/**
 * 手机号验证码登录方式
 * Created by yangwei
 * Created at 2020/1/8 17:39
 */
@Component("mobileUserDetailsService")
public class MobileUserDetailsServiceImpl extends BaseUserDetailsServiceImpl {
    @Override
    public UserIdentifier.TypeDictItem getType() {
        return UserIdentifier.TypeDictItem.account_mobile;
    }
}
